import QtQuick 2.1
import QtQuick.Window 2.2
import Qt.labs.folderlistmodel 2.1

SystemWindow {
    id: fileWindow
    title: "文件浏览器"
    property int adaptive_width: Screen.desktopAvailableWidth
    property int adaptive_height: Screen.desktopAvailableHeight
    width: adaptive_width
    height: adaptive_height

    FileBrowser {
        id: imageFileBrowser
        folder:"file:///"
        anchors.fill: parent
        width: adaptive_width
        height: adaptive_height/*/1.16*/
        anchors{
            top: parent.top
            topMargin: 0
        }
//        Component.onCompleted: fileSelected.connect(content.openImage)
    }
//    MouseArea {
//        anchors.fill: parent
//        onClicked: imageFileBrowser.show()
//    }
    Component.onCompleted:imageFileBrowser.show()
}
